<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
    <meta http-equiv=content-type content="text/html; charset=utf-8" />
    <link rel="stylesheet" href="{$smarty.const.ADMIN_CSS_URL}message.css"/>
</head>
<body style="background: url('{$smarty.const.ADMIN_IMG_URL}waver.png')">
    {foreach $minfo as $k => $v}
    <div class="record">
        <div class="record_title">
                ID {$v.message_id}：{$v.username}
        </div>
        <div class="record_date">
            {date("y-m-d H:i:s",$v.message_time)}
        </div>
        <div class="record_pic">
            <img src="{$smarty.const.IMG_UPLOAD}{$v.message_small_img}"
                 onclick="this.src='{$smarty.const.IMG_UPLOAD}{$v.message_big_img}'"
                 ondblclick="this.src='{$smarty.const.IMG_UPLOAD}{$v.message_small_img}'"
                 title="单击看大图，双击看小图"/>
        </div>
        <div class="record_content">
            {$v.message_introduce}
        </div>
        <div class="record_response">
            <a href="{$smarty.const.__CONTROLLER__}/comment/message_id/{$v.message_id}" >
                管理评论
            </a>
            <a href="{$smarty.const.__CONTROLLER__}/del_message/message_id/{$v.message_id}">
                删除
            </a>
        </div>
    </div>
    {/foreach}
    <div class="record_num">
        {$pagelist}
    </div>
</body>
</html>